let input_arr=input.split('/n')
let count=parseInt(input_arr[0])
for(i=0;i<count;i++){
let pome=input_arr[i+1]
let pome_arr=pome.split(',')
if(pome_arr[0].endsWith('ong')&&pome_arr[1].endsWith('ong')){
    let arr=pome_arr[1].split(' ')
    arr[arr.length-1]='zhong.'
    arr[arr.length-2]='ben'
    arr[arr.length-3]='qiao'
    let newmsg=arr.join(' ')
    console.log(pome_arr[0]+','newmsg);
}
else{
    console.log('Skipped')
}

}
